package factory;

import Dao.Student;
import Dao.impl.StudentImpl;
import org.springframework.beans.factory.FactoryBean;

public class StudentsFactory implements  FactoryBean<StudentImpl> {
    @Override
    public StudentImpl getObject() throws Exception {
        return new StudentImpl();
    }

    @Override
    public Class<?> getObjectType() {
        return Student.class;
    }
}
